package week04;


class FFruit{
    private String name;
    public FFruit(String name){
        this.name = name;
    }
    public String toString() {
        return name+"-"+super.toString();
    }
}

public class Mainf {

    public static void main(String[] args) {
        Fruit fruit = new Fruit("mine");
        System.out.println(fruit.toString());
    }
}